package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ClientPool {
    private Long id;

    private String name;

    private Long age;

    private String gender;

    private String tel;

    private String qq;

    private String email;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date formBuildDate;

    private String weChat;

    private String school;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inputTime;

    private String address;

    private DictionaryItem eduBackground;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date nextTraceTime;

    private String major;

    private DictionaryItem source;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appointTime;

    private ClientPool introducerStu;

    private String introducer;

    private DictionaryItem clientType;

    private DictionaryItem intentionDegree;

    private DictionaryItem state;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date enrollUniversityDate;

    private Classroom clz;

    private University bigCustomer;

    private DictionaryItem campus;

    private DictionaryItem intentionSubject;

    private String hasPaid;

    private String focusProblem;

    private String textarea;

}